<?php
/* 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of sidebar
 *
 * @author Gidaff_01
 */
class sidebar extends FrontEnd_Controller{
    //put your code here
    function Sidebar(){
        parent::FrontEnd_Controller();
        $this->load->model('sidebar_m');
    }

    function index(){
        $this->detail_card_vip();
    }

    function detail_card_vip() {
        $this->_data['sidebar'] ='modules/sidebar';
        $this->_data['titre_page'] ='Zoo-market';
        $query = $this->Sidebar_m->get_card_vip();
        $this->_data['detail_card_vip'] = $query;
        $this->display_view('detail_card_vip');
    }
}
?>
